package org.begincode.core.mapper;

import org.apache.ibatis.annotations.Param;
import org.begincode.core.model.WordChapter;
import org.begincode.core.model.WordChapterExample;

import java.util.List;

public interface WordChapterMapper {
    int countByExample(WordChapterExample example);

    int deleteByExample(WordChapterExample example);

    int deleteByPrimaryKey(Integer wordChapterId);

    int insert(WordChapter record);

    int insertSelective(WordChapter record);

    List<WordChapter> selectByExampleWithBLOBs(WordChapterExample example);

    List<WordChapter> selectByExample(WordChapterExample example);

    WordChapter selectByPrimaryKey(Integer wordChapterId);

    int updateByExampleSelective(@Param("record") WordChapter record, @Param("example") WordChapterExample example);

    int updateByExampleWithBLOBs(@Param("record") WordChapter record, @Param("example") WordChapterExample example);

    int updateByExample(@Param("record") WordChapter record, @Param("example") WordChapterExample example);

    int updateByPrimaryKeySelective(WordChapter record);

    int updateByPrimaryKeyWithBLOBs(WordChapter record);

    int updateByPrimaryKey(WordChapter record);
}